package com.sxt.mapper;

import com.sxt.pojo.Schools;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SchoolsMapper {

    @Select("select * from schools where parentid=#{pid}")
    List<Schools> selectMenusByPid(@Param("pid") int pid);
}
